package com.techstar.ats.type;

public enum DepotType implements Enumerated {
	NONE(0, ""),
	CAR_DEPOT_1(1, "车辆段1"),
	PARKING_1(2, "停车场1"),
	CAR_DEPOT_2(4, "车辆段2"),
	PARKING_2(8, "停车场2");

	private final int value;
	private final String literal;

	DepotType(int value, String literal) {
		this.value = value;
		this.literal = literal;
	}

	public int value() {
		return this.value;
	}

	public String literal() {
		return this.literal;
	}

	public static DepotType valueOf(int value) {
		return Enumerated.valueOf(DepotType.class, value);
	}
}
